package com.example.designpatterns.behavioral.command;

import org.springframework.stereotype.Component;

/**
 * @author zuitu@foxmail.com
 * @date 2024/1/17
 * Invoker
 */
@Component
public class RemoteControl {
    public void submit(Command command) {
        command.execute();
    }
}
